﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mall.Infrastructure.Enums;
using Sx.Mall.Common.Enums;

namespace Sx.Mall.WebContract.Dto
{
    public class MallManagerDto :PageParam
    {
        public int UserID { get; set; }
        public string UserName { get; set; }
        public string pwd { get; set; }
        public string RealName { get; set; }
        public Nullable<int> Status { get; set; }

        /// <summary>
        ///        
        /// </summary>
        public int ErrorCount { get; set; }

        /// <summary>
        ///        
        /// </summary>
        public bool Islocked { get; set; }

        /// <summary>
        /// 状态内容
        /// </summary>
        public string StatusText
        {
            get
            {
                return ((MallManagerStatus)this.Status).GetDescription();
            }
        }
    }
}
